<?php

/**
 * This file is part of the Pagizer package.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * @copyright   Copyright (c) 2010 Advisa (http://www.advisa.fr)
 * @author      Pagizer Core Team <team@pagizer.org>
 * @package     pagizer
 * @subpackage  website
 */

class m_website_views_block_front_BreadCrumbSuccessView extends m_backoffice_extends_View
{
	public function execute()
	{
        $tpl = 'front/block/BreadCrumb.html';

        if($this->getModel("putInCache") == false)
        {
            $this->renderView($tpl);
        }
        else
        {
            $page = $this->getModel("page");
            $this->renderView($tpl, true, $page->getUniqueId(), $page->getLang()."|page|breadcrumb");
        }
	}
}